import baseRequest from "./request";

// 重置密码
export function resetUserPassword(userId: number, newPassword: string) {
    return baseRequest({
        url: '/system/user/resetPass',
        method: 'post',
        data: {
            user_id: userId,
            new_password: newPassword
        }
    })
} 

export function getUserInfo() {
    return baseRequest({
        url: '/api/auth/getInfo',
        method: 'get'
    })
}